package com.qd.common.sys.domain.entity.log;

import com.cdqidi.util.page.BaseQuery;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

/**
 * 接收日志
 *
 * @author sjk
 */
@EqualsAndHashCode(callSuper = true)
@Getter
@Setter
public class ReceiveLogDTO extends BaseQuery {

    /**
     * 主键
     */
    private String id;
    /**
     * 内容
     */
    private String content;
    /**
     * 接收时间
     */
    private LocalDateTime receiveTime;
    /**
     * 写入时间
     */
    private LocalDateTime addTime;
    /**
     * 异常信息
     */
    private String errMsg;
    /**
     * 日志类型
     */
    private String logType;
    /**
     * 日志类型显示
     */
    private String logTypeDisplay;
    /**
     * 应用ID
     */
    private String appId;
    /**
     * 应用ID显示
     */
    private String appIdDisplay;
    /**
     * 公司ID
     */
    private String eId;
    /**
     * 公司ID显示
     */
    private String eIdDisplay;

    @Override
    public void freeData() {
        this.id = null;
        this.content = null;
        this.receiveTime = null;
        this.addTime = null;
        this.errMsg = null;
        this.logType = null;
        this.logTypeDisplay = null;
        this.appId = null;
        this.appIdDisplay = null;
        this.eId = null;
        this.eIdDisplay = null;
        super.freeData();
    }
}
